package net.ocps.htc.SpeedReactor.screens;

import net.ocps.htc.SpeedReactor.Art;
import net.ocps.htc.SpeedReactor.Input;

import com.badlogic.gdx.scenes.scene2d.ui.Label;

public class MainScreen extends Screen {

	private int time = 0;
	
	@Override
	public void render() {
		spriteBatch.begin();
		draw(Art.bg, 0, 0);
//		spriteBatch.getProjectionMatrix().rotate(, axisY, axisZ, angle)
		draw(Art.menu, 0, 0);
		spriteBatch.end();
		
	}
	
	@Override
	public void tick(Input input) {
		time++;
		if(input.menuTouched) {
			speedReactor.setScreen(new GameScreen());
		}
	}

}

